package cwm;

public class cwm1 {
    public static void main(String[] args) {
       int [] array1=new int[3];
       array1[0]=5;
       array1[1]=2;
       array1[2]=0;
           System.out.println(array1[0]);
           System.out.println(array1[1]);
           System.out.println(array1[2]);


        System.out.println("-------------");


        int [] array2=new int[4];
        System.out.println(array2);
        array2[0]=1;
        array2[1]=3;
        array2[2]=1;
        array2[3]=4;
        System.out.println(array2[0]);
        System.out.println(array2[1]);
        System.out.println(array2[2]);
        System.out.println(array2[3]);

    }
}
